@extends('admin.public.admin')
@section('main')
<!-- 内容 -->
<div class="mws-panel grid_8">
                    <div class="mws-panel-header">
                         <span>添加管理员</span>
                    </div>
                    <div class="mws-panel-body no-padding">
                         <form class="mws-form" action="/admin/admin" method="post">
                         {{csrf_field()}}
                              <div class="mws-form-inline">
                                   <div class="mws-form-row">
                                        <label class="mws-form-label">用户名</label>
                                        <div class="mws-form-item">
                                             <input type="text" class="small" name="nickname">
                                        </div>
                                   </div>

                                   <div class="mws-form-row">
                                        <label class="mws-form-label">密码</label>
                                        <div class="mws-form-item">
                                             <input type="password" class="small" name="password">
                                        </div>
                                   </div>

                                   <div class="mws-form-row">
                                        <label class="mws-form-label">确认密码</label>
                                        <div class="mws-form-item">
                                             <input type="password" class="small" name="repassword">
                                        </div>
                                   </div>

                                   <div class="mws-form-row">
                                        <label class="mws-form-label">电话</label>
                                        <div class="mws-form-item">
                                             <input type="number" class="small"  name="tel">
                                        </div>
                                   </div>

                                      <div class="mws-form-row">
                                        <label class="mws-form-label">邮箱</label>
                                        <div class="mws-form-item">
                                             <input type="email" class="small"  name="email">
                                        </div>
                                    </div>

                                   <div class="mws-form-row">
                                        <label class="mws-form-label small">权限</label>
                                        <div class="small">
                                             <select class="large" name="authority">
                                                  <option value="1">超级管理员</option>
                                                  <option value="0" checked>普通管理员</option>
                                             </select>
                                        </div>
                                   </div>
                                   
                                   <div class="mws-form-row">
                                        <label class="mws-form-label">状态</label>
                                        <div class="mws-form-item clearfix">
                                             <ul class="mws-form-list inline">
                                                  <li><input type="radio" name="statu" value="0"  checked> <label>启用</label></li>
                                                  <li><input type="radio" name="statu" value="1"> <label>禁用</label></li>                                       
                                             </ul>
                                        </div>
                                   </div>
                              </div>
                              <div class="mws-button-row">
                                   <input type="submit" value="添加" class="btn btn-danger">
                                   <input type="reset" value="重置" class="btn ">
                              </div>
                         </form>
                    </div>         
                </div>
@endsection